package com.silverbox.waimai.mapper;

import com.silverbox.waimai.entity.OrderPayDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderPayDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderPayDetail record);

    int insertSelective(OrderPayDetail record);

    OrderPayDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderPayDetail record);

    int updateByPrimaryKey(OrderPayDetail record);

    OrderPayDetail getOrderPayDetailByOrderNumAndPayModel(@Param("orderNum") String orderNum,@Param("payModel") Integer payModel);

    List<OrderPayDetail> getOrderPayDetailByOrderNumOutPayModel(@Param("orderNum") String orderNum,@Param("payModel") Integer payModel);
}